<script>
	import List from './component'
	export default {
    name: 'permission',
    created() {
      this.$store.dispatch('permission/fetch');
    },
		render(h) {
      const {data, current, total, size, fetching} = this.$store.state.permission
			return (
				<List data={data} current={current} total={total} size={size} namespace="permission" fetching={fetching}/>
			)
		}
	}
</script>
